using UnityEngine;
using System.Collections;

public class borrachaintro : MonoBehaviour {

	// Use this for initialization
	void Start () 
	
	{
	
		
		
	}
	
	// Update is called once per frame
	void Update () 
	
	{
	if(transform.position.y <= -8)
		{
			Destroy(gameObject);
		}
		
		
	}
	
	void OnTriggerEnter(Collider other)
	{
		if(other.CompareTag("DestruirPlataforma"))
		{
			Destroy(other.gameObject);
			
		}
	}
}
